package com.cyl.XmlDemo.web;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Controller
@RequestMapping("/")
public class PageController {
	
	private final Logger logger = LoggerFactory.getLogger(PageController.class);

	@RequestMapping(value="realWorld",method=RequestMethod.GET)
	public String index_v2(){
		return "real-world";
	}
	
	@RequestMapping(value={"screenShare"},method=RequestMethod.GET)
	public String screenShare(){
		return "screen-share";
	}
	
	@RequestMapping(value="v2",method=RequestMethod.GET)
	public String v2(){
		return "inner-browser";
	}
	
	//主页
	@RequestMapping(value={"","index"},method=RequestMethod.GET)
	public String index(){
		return "index";
	}
	
	//主播页
	@RequestMapping(value="bc",method=RequestMethod.GET)
	public String broadcaster(){
		return "broadcaster";
	}
	
}
